package com.joven.internet;

import com.joven.internet.constant.JovenInput;
import org.apache.dubbo.config.spring.context.annotation.EnableDubbo;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.context.config.annotation.RefreshScope;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.cloud.stream.annotation.EnableBinding;

@RefreshScope
@EnableBinding(JovenInput.class)
@EnableDiscoveryClient
@EnableFeignClients
@EnableDubbo
@SpringBootApplication
@MapperScan("com.joven.internet.mapper")
public class InternetApplication {

	public static void main(String[] args) {
		SpringApplication.run(InternetApplication.class, args);
	}

}
